<?xml version="1.0" encoding="ISO-8859-1" ?>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"	
	xmlns:p="http://primefaces.org/ui" >
<h:head>
	<title>MCAShop Web</title>
	<h:outputStylesheet name="estrutura.css" library="css" />
</h:head>
<h:body style="padding: 0; margin: 0; background: url(/resources/images/1.png)">
		
	<h:form id="formPrincipal">
		<div>
			<p:dock position="top" itemWidth="50">
				<p:menuitem value="Clientes" icon="/resources/images/equipe.png" action="#{cliefornBean.load()}"  update="formPrincipal:list:clieforns" onclick="dlgClientes.show()"/>
				<p:menuitem value="Articulações" icon="/resources/images/articulacoes.png" url="#"/>
				<p:menuitem value="Projetos" icon="/resources/images/projetos.png" url="#"/>
				<p:menuitem value="Telefones Uteis" icon="/resources/images/telefone.png" url="#"/>
				<p:menuitem value="Recados" icon="/resources/images/recados.png" url="#"/>
				<p:menuitem value="Sair" icon="/resources/images/sair.png" action="#{loginBean.logout}"/>
			</p:dock>
		</div>
	
	
	<p:dialog header="Clientes Cadastrados" widgetVar="dlgClientes" width="468" height="350" closable="false">
		<f:facet name="header">
				<h:form>
					<h:outputText value="Clientes Cadastrados" />
					<p:commandButton icon="ui-icon-closethick" title="#{msg['label.registro.sair']}" action="#{cliefornBean.clear}" onclick="dlgClientes.hide()" style="float:right;"/>
				</h:form>
		</f:facet>  
		<h:panelGroup id="clientes" class="form">
				<ui:include src="clieforn/list.xhtml" />
		</h:panelGroup>
	</p:dialog>
	</h:form>
		
</h:body>
</html>
